package com.qf.dao;

import com.qf.pojo.Order;

import java.util.List;

/**
 * @author bss
 * @version V1.0
 * @Project 02Day01
 * @Package com.qf.dao
 * @Description:
 * @Date 2022/9/15 21:56
 */
public interface OrderDao {
    void insert(Order order);

    void updateStatus(String orderID, String stat);

    List<Order> getOrderList(int uid);

    List<Order> getAllOrder();

    List<Order> findOrderByUidAndStat(int uid, int status);
}
